﻿/*------------------------------------------------
// File Description: s_model_stack DataBase Entity
// Author:			 Crane
// Create Time:		 2021-05-11 12:17:55
//------------------------------------------------*/

using System;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace IOA.OldMes.DataAccess.Entity
{
    /// <summary>
    /// 
    /// </summary>
    [Table("s_model_stack")]
    public class ModelStack
    {
        private string _solar_no = string.Empty;
        private string _work_order = string.Empty;
        private string _weld_machine = string.Empty;
        private string _set_op1 = string.Empty;
        private string _set_op2 = string.Empty;
        private string _set_op3 = string.Empty;
        private string _set_op4 = string.Empty;
        private string _set_op5 = string.Empty;
        private string _set_op6 = string.Empty;
        private string _set_class = string.Empty;
        private string _set_no = string.Empty;

        #region Public Property

        ///<Summary>
        /// id
        ///</Summary>
        public int id { get; set; }

        ///<Summary>
        /// solar_no
        ///</Summary>
        public string solar_no
        {
            get { return string.IsNullOrWhiteSpace(_solar_no) ? string.Empty : _solar_no; }
            set { _solar_no = value; }
        }

        ///<Summary>
        /// work_order
        ///</Summary>
        public string work_order
        {
            get { return string.IsNullOrWhiteSpace(_work_order) ? string.Empty : _work_order; }
            set { _work_order = value; }
        }

        ///<Summary>
        /// in_time
        ///</Summary>
        public int? in_time { get; set; }

        ///<Summary>
        /// std_class
        ///</Summary>
        public int? std_class { get; set; }

        ///<Summary>
        /// std_eva
        ///</Summary>
        public int? std_eva { get; set; }

        ///<Summary>
        /// std_eva_g
        ///</Summary>
        public int? std_eva_g { get; set; }

        ///<Summary>
        /// std_tpt
        ///</Summary>
        public int? std_tpt { get; set; }

        ///<Summary>
        /// std_strip_remit1
        ///</Summary>
        public int? std_strip_remit1 { get; set; }

        ///<Summary>
        /// std_strip_remit2
        ///</Summary>
        public int? std_strip_remit2 { get; set; }

        ///<Summary>
        /// std_strip_remit3
        ///</Summary>
        public int? std_strip_remit3 { get; set; }

        ///<Summary>
        /// std_strip_remit4
        ///</Summary>
        public int? std_strip_remit4 { get; set; }

        ///<Summary>
        /// weld_machine
        ///</Summary>
        public string weld_machine
        {
            get { return string.IsNullOrWhiteSpace(_weld_machine) ? string.Empty : _weld_machine; }
            set { _weld_machine = value; }
        }

        ///<Summary>
        /// set_op1
        ///</Summary>
        public string set_op1
        {
            get { return string.IsNullOrWhiteSpace(_set_op1) ? string.Empty : _set_op1; }
            set { _set_op1 = value; }
        }

        ///<Summary>
        /// set_op2
        ///</Summary>
        public string set_op2
        {
            get { return string.IsNullOrWhiteSpace(_set_op2) ? string.Empty : _set_op2; }
            set { _set_op2 = value; }
        }

        ///<Summary>
        /// set_op3
        ///</Summary>
        public string set_op3
        {
            get { return string.IsNullOrWhiteSpace(_set_op3) ? string.Empty : _set_op3; }
            set { _set_op3 = value; }
        }

        ///<Summary>
        /// set_op4
        ///</Summary>
        public string set_op4
        {
            get { return string.IsNullOrWhiteSpace(_set_op4) ? string.Empty : _set_op4; }
            set { _set_op4 = value; }
        }

        ///<Summary>
        /// set_op5
        ///</Summary>
        public string set_op5
        {
            get { return string.IsNullOrWhiteSpace(_set_op5) ? string.Empty : _set_op5; }
            set { _set_op5 = value; }
        }

        ///<Summary>
        /// set_op6
        ///</Summary>
        public string set_op6
        {
            get { return string.IsNullOrWhiteSpace(_set_op6) ? string.Empty : _set_op6; }
            set { _set_op6 = value; }
        }

        ///<Summary>
        /// set_class
        ///</Summary>
        public string set_class
        {
            get { return string.IsNullOrWhiteSpace(_set_class) ? string.Empty : _set_class; }
            set { _set_class = value; }
        }

        ///<Summary>
        /// set_no
        ///</Summary>
        public string set_no
        {
            get { return string.IsNullOrWhiteSpace(_set_no) ? string.Empty : _set_no; }
            set { _set_no = value; }
        }

        ///<Summary>
        /// set_time
        ///</Summary>
        public DateTime? set_time { get; set; }
        #endregion
    }

    public partial class OldMESContext
    {
        /// <summary>
        /// 
        /// </summary>
        public virtual DbSet<ModelStack> ModelStacks { get; set; }
    }
}